import { Button } from 'antd'
import React from 'react'

export default function Child({ onIncrement }) {
  return (
    <div><Button onClick={onIncrement}>Child:+1</Button></div>
  )
}
